package extend;

public class Student {
    //程序设计:高内聚,低耦合;
    //属性
    private String name;
    private  int age;
    private  String gender;

    //方法
    public void study(){
        System.out.println("study java");
    }
}
